import Vue from "vue";
import VueRouter from "vue-router";
import Home from "../views/Home.vue";
import download from "../views/download.vue";

Vue.use(VueRouter);

const routes = [
  { path: "/", redirect: "/Home" },
  {
    path: "/Home",
    name: "Home",
    component: Home,
  },
  {
    path: "/download",
    name: "download",
    component: download,
  },
];

const router = new VueRouter({
  routes,
});

export default router;
